package com.veer.shop.result;

import com.veer.shop.utils.DateTimeUtil;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 用户角色实体类
 *
 * @author WangBin
 * @date 2020/12/5 20:51
 */
public class AdminRoleResult {
    private Integer role_id = 0;
    private Integer store_id = 0;
    private String role_name;
    private Integer is_actived = 1;
    private String op_name = "";
    private List<Map<String, Object>> menus = new ArrayList<Map<String, Object>>();
    private Integer is_system = 0;
    private String role_info;
    private String created_at;
    private String updated_at;

    public String getRoleInfo() {
        return role_info;
    }

    public void setRoleInfo(String role_info) {
        this.role_info = role_info;
    }

    public List<Map<String, Object>> getMenus() {
        return menus;
    }

    public void setMenus(List<Map<String, Object>> menus) {
        this.menus = menus;
    }

    public Integer getRoleId() {
        return role_id;
    }

    public void setRoleId(Integer role_id) {
        this.role_id = role_id;
    }

    public Integer getStoreId() {
        return store_id;
    }

    public void setStoreId(Integer store_id) {
        this.store_id = store_id;
    }

    public String getRoleName() {
        return role_name;
    }

    public void setRoleName(String role_name) {
        this.role_name = role_name;
    }

    public Integer getIsActived() {
        return is_actived;
    }

    public void setIsActived(Integer is_actived) {
        this.is_actived = is_actived;
    }

    public String getOpName() {
        return op_name;
    }

    public void setOpName(String op_name) {
        this.op_name = op_name;
    }

    public Integer getIsSystem() {
        return is_system;
    }

    public void setIsSystem(Integer is_system) {
        this.is_system = is_system;
    }

    public String getCreatedAt() {
        return created_at;
    }

    public void setCreatedAt(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdatedAt() {
        return updated_at;
    }

    public void setUpdatedAt(String updated_at) {
        this.updated_at = DateTimeUtil.getDateTime();
    }
}
